﻿using B.S.Passport.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Passport.Infacetrue
{
    public class DbcontextWMS : DbContext
    {
        public DbcontextWMS(DbContextOptions options) : base(options)
        {
        }
        public DbSet<Carrier> Carrier { get; set; }
        public DbSet<Category> Category { get; set; }
        public DbSet<Customer> Customer { get; set; }
        public DbSet<Department> Department { get; set; }

        public DbSet<ParentCategory> ParentCategory { get; set; }
        public DbSet<ProductModel> ProductModel { get; set; }
        public DbSet<Smanagement> Smanagement { get; set; }
        public DbSet<SupplierModel> SupplierModel { get; set; }
        public DbSet<Unit> Unit { get; set; }
        public DbSet<WarehouseModel> Warehouse { get; set; }
        public DbSet<WHouseModel> WHouseModel { get; set; }
        public DbSet<WHouseType> WHouseType { get; set; }
        public DbSet<WTypeModel> WType { get; set; }

        public DbSet<PurchaseOrder> PurchaseOrder {  get; set; }
        public DbSet<PurchaseOrderProduct> PurchaseOrderProduct {  get; set; }
    }
}
